<?php
include 'header.php';
?>
   		<div class='container'>
   			<div class='row'>
   				<div class='col-xs-2'>
   					<a href='index.php' class='btn btn-default btn-block'>返回首页</a>
   					<a href="orderList.php?orderType=all" class='btn btn-default btn-block'>全部订单</a>
   					<a href="orderList.php?orderType=now" class='btn btn-default btn-block'>当前订单</a>
   					<a href="orderList.php?orderType=history" class='btn btn-default btn-block'>历史订单</a>
   				</div>
   				<div class='col-xs-4'>
   					<div class='panel panel-primary'>
   						<div class='panel-heading'>
   							<div class='panel-title'>添加订单</div>
   						</div>
   						<form class='form-horizontal' action='addOrderPro.php' method='post'>
	   						<div class='panel-body'>
	   							<?php if(!empty($mes)){?>
   									<div class='alert alert-danger'>
   										<?php @print($mes);?>
   										<div class='close' data-dismiss='alert'>&times;</div>
   									</div>
	   							<?php }?>
	   							<div class='form-group'>
	   								<label class='col-xs-3 control-label' for='name'>名称</label>
	   								<div class='col-xs-9'>
	   									<input class='form-control' name='name' id='name' type='text' placeholder='订单名称' required='required' />
	   								</div>
	   							</div>
	   						</div>
	   						<div class='panel-footer' style='padding-left:100px;'>
	   							<button class='btn btn-primary' type='submit'>添加</button>
	   							<a href='index.php' class='btn btn-default'>返回</a>
	   						</div>
   						</form>
   					</div>
   				</div>
   			</div>
   		</div>
   	</body>
</html>
